package com.whmnx.my.ui.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.ViewGroup;

import androidx.annotation.Nullable;
import androidx.databinding.ObservableArrayList;
import androidx.databinding.ObservableList;

import com.whmnx.my.R;
import com.whmnx.my.databinding.FragmentAboutBindingImpl;
import com.whmnx.my.databinding.FragmentBalanceBinding;
import com.whmnx.my.ui.viewmodel.BalanceModel;
import com.whmnx.my.ui.viewmodel.WithdrawItemViewModel;

import me.goldze.mvvmhabit.BR;
import me.goldze.mvvmhabit.base.BaseFragment;
import me.goldze.mvvmhabit.binding.command.BindingAction;
import me.goldze.mvvmhabit.binding.command.BindingCommand;
import me.tatarka.bindingcollectionadapter2.ItemBinding;

/**
 * author : huang
 * date   : 2020/9/24 0024 18:13
 * version: 1.0
 * @author Administrator
 */
public class MyBalanceFragment extends BaseFragment<FragmentBalanceBinding, BalanceModel> {
    @Override
    public int initContentView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        return R.layout.fragment_balance;
    }

    @Override
    public int initVariableId() {
        return BR.viewModel;
    }

    @Override
    public void initData() {
        super.initData();
        viewModel.initToolbar(this);
    }
}
